home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / storage / function / scsi / add / tstready.scr < prev    next >
Encoding:
Text File  |  1994-08-13  |  437 b   |  23 lines

  1. * Checks if the logical unit is ready.
  2.  
  3. @THREAD TSTREADY.LOG
  4. @NEWALIAS SADD SCSIADD.GRA
  5. @IMPORT SCSICOM.SCR
  6. SADD DD_OPEN
  7.  
  8. * 0=Async mode, 1=Sync mode
  9. SADD SET MODE=1
  10.  
  11. * Command completion timeout (Secs)
  12. * 0=the assigned value is the default set by the driver,
  13. * -1=the assigned value is infinite.
  14. SADD SET TIMEOUT=0 
  15.  
  16. * Name for paramblock
  17. SADD SET LABEL = "TEST UNIT READY"
  18.  
  19. SADD TEST_UNIT_READY
  20.  
  21. SADD DD_CLOSE
  22.  
  23.